class RealTimeOrderData {
  String orderId;
  String depLongitude;
  String depLatitude;
  String depAre;
  String destLongitude;
  String destLatitude;
  String destArea;
  String orderTime;
  String userId;
  String type;
  String lastNum;
  String passengerId;

  RealTimeOrderData(
      {this.orderId,
      this.depLongitude,
      this.depLatitude,
      this.depAre,
      this.destLongitude,
      this.destLatitude,
      this.destArea,
      this.orderTime,
      this.userId,
      this.type,
      this.passengerId,
      this.lastNum});

  RealTimeOrderData.fromJson(Map<String, dynamic> json) {
    orderId = json['order_id'];
    depLongitude = json['dep_longitude'];
    depLatitude = json['dep_latitude'];
    depAre = json['dep_are'];
    destLongitude = json['dest_longitude'];
    destLatitude = json['dest_latitude'];
    destArea = json['dest_area'];
    orderTime = json['order_time'];
    userId = json['user_id'];
    type = json['type'];
    lastNum = json['last_num'];
    passengerId = json['passenger_id'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['order_id'] = this.orderId;
    data['dep_longitude'] = this.depLongitude;
    data['dep_latitude'] = this.depLatitude;
    data['dep_are'] = this.depAre;
    data['dest_longitude'] = this.destLongitude;
    data['dest_latitude'] = this.destLatitude;
    data['dest_area'] = this.destArea;
    data['order_time'] = this.orderTime;
    data['user_id'] = this.userId;
    data['type'] = this.type;
    data['last_num'] = this.lastNum;
    data['passenger_id'] = this.passengerId;
    return data;
  }
}
